<template>
  <div>
    <!-- ...existing code... -->
    <!-- fofa列表 -->
    <div>
      <!-- ...existing code... -->
      <el-button type="primary" size="small" @click="openFofaPopup">添加</el-button>
      <!-- ...existing code... -->
    </div>
    <!-- ...existing code... -->
    <!-- 弹出层：PopupLayer终端的fofa页面 -->
    <PopupLayer v-if="fofaPopupVisible" :visible.sync="fofaPopupVisible" />
    <!-- ...existing code... -->
  </div>
</template>

<script>
import PopupLayer from './PopupLayer.vue';

export default {
  components: {
    PopupLayer,
  },
  data() {
    return {
      fofaPopupVisible: false,
    };
  },
  methods: {
    openFofaPopup() {
      this.fofaPopupVisible = true;
    },
  },
};
</script>